import { contactInfo } from "@/data/resumeData";

export default function Footer() {
    return (
        <footer className="bg-gray-100 py-8">
            <div className="container mx-auto px-4">
                <div className="flex justify-center space-x-6">
                    {contactInfo.socialLinks.map((social) => (
                        <a
                            key={social.platform}
                            href={social.url}
                            target="_blank"
                            rel="noopener noreferrer"
                            className="text-gray-600 hover:text-[#2B3A67] transition"
                        >
                            <i className={`${social.icon} text-2xl`}></i>
                        </a>
                    ))}
                </div>
                <p className="text-center text-gray-500 mt-4">
                    © {new Date().getFullYear()} 孙孟想 - 个人履历
                </p>
            </div>
        </footer>
    );
}